import os
from PIL import ImageFont, ImageDraw, Image


def switch():
    OD_path = "./"
    inputList = os.listdir('./input')
    # NBG = Image.new('RGBA', (160, 147), color=(0, 0, 0,0))
    souce_png = Image.open("./TPG.png").convert("RGBA")
    print(inputList)
    for i in inputList:
        souce_png.save(f"./output/{i}")
    # outputList = os.listdir('./output')
    # for i in range(len(inputList)):
    #     os.rename('./shared_/' + outputList[i], inputList[i])

if __name__ == '__main__':
    switch()